package com.woniuxy.usersecurity;

import com.woniuxy.usersecurity.config.RsaKeyProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.woniuxy.usersecurity.mapper")
@EnableConfigurationProperties(RsaKeyProperties.class)
@ComponentScan(basePackages = {"com.woniuxy.usersecurity.config","com.woniuxy.usersecurity"})
public class LifeLoginProperties {
    public static void main(String[] args) {
        SpringApplication.run(LifeLoginProperties.class,args);
    }
}
